﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="log.aspx.cs" Inherits="WebApplication1.log" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Panel ID="Panel1" runat="server" HorizontalAlign="Center" Height="549px"   ForeColor="#E6E154">
     <table border="0" align="center" style="height: 301px; width: 50%;">
                <tr>
                    <td  width="30%" valign="top">
                        <h1 align="center" 
                            style="top: auto; font-family: 'Times New Roman'; font-size: xx-large;">
                            LOGIN<br />
                        </h1>
                        <br />
                        <asp:Panel ID="Panel2" runat="server" Height="172px">
                        <p align="center" 
                                
                                
                                
                                style="font-family: 'Times New Roman'; font-size: medium;  top: 393px; left: 212px; width: 528px; height: 168px;">
                               <br />Username : &nbsp;&nbsp;
                        <asp:TextBox ID="txtUname" runat="server" Width="150px" Height="26px" 
                                    Font-Names="Times New Roman" Font-Size="Medium"></asp:TextBox>&nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUname"
                            Display="Dynamic" ErrorMessage="Username is required!" Font-Names="Times New Roman" 
                                    Font-Size="Medium" style="position:absolute; "></asp:RequiredFieldValidator><br />
                        <br /><br />
                        Password : &nbsp;&nbsp;
                        <asp:TextBox ID="txtPwd" runat="server" TextMode="Password" Width="150px" 
                            Height="29px" Font-Names="Times New Roman" Font-Size="Medium"></asp:TextBox>&nbsp;
                                <asp:RequiredFieldValidator
                            ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPwd" Display="Dynamic"
                            ErrorMessage="Password is required!" Font-Names="Times New Roman" 
                                    Font-Size="Medium" style="position:absolute; "></asp:RequiredFieldValidator><br />
                        <br />
                        <asp:Button ID="btnLogin" runat="server" Text="Login" OnClick="btnLogin_click" 
                                    Width="133px" BorderStyle="None" Font-Names="Times New Roman" 
                                   Font-Size="Medium" 
                                     />&nbsp;&nbsp;
                        <asp:Button ID="btnclear" runat="server" Text="Clear" Width="111px" BorderStyle="None" 
                                    Font-Names="Times New Roman" Font-Size="Medium" onclick="clear_Click" 
                                    /></p>
                        <br /><br />
                        </asp:Panel>
                        
                        <br /><br />
                        <asp:Label ID="Label1" runat="server" Text="NewUser" 
                            Font-Names="Times New Roman" Font-Size="Medium"></asp:Label>&nbsp;
                        <asp:HyperLink ID="Link1" runat="server" NavigateUrl="~/Users/reg.aspx" 
                            Font-Names="Times New Roman" Font-Size="Medium">Register Here</asp:HyperLink>
                       </td>
                </tr>
            </table>
            <div class==cleaner_with_height"></div>
        </asp:Panel>
</asp:Content>
